-
Notifications
You must be signed in to change notification settings - Fork 7.8k
add k_sleep tracing in CTF, add ram tracing snippet #93327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add k_sleep tracing in CTF, add ram tracing snippet #93327
Conversation
nashif
commented
Jul 18, 2025
- tracing: ctf: trace k_sleep()
- tracing: introduce ram tracing snippet
snippets/ram-tracing/README.rst
Outdated
.. _snippet-ram-tracing: | ||
|
||
RAM Tracing Snippet (ram-tracing) | ||
############################################ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mismatched header length
Trace sleep events in CTF: [19:00:00.181375400] (+0.000044700) k_sleep_enter: ... .. [19:00:00.290203800] (+0.000031500) k_sleep_exit: ... Signed-off-by: Anas Nashif <[email protected]>
c84017e
to
424548e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just spotted a small typo in babeltrace - thanks!
This allows tracing any application and stores the data in RAM. Using gdb, the ram_tracing variable contents can then be saved and viewed using babeltrace. Signed-off-by: Anas Nashif <[email protected]>
424548e
to
c727a38
Compare
|